package com.xjgc.eip.panel.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhanghongbin
 * @since 2019-11-28
 */
public class ZxjEipGd implements Serializable {

private static final long serialVersionUID=1L;

private String purchaserHqCode;

private String ipoNo;

private String supplierCode;

private String woNo;

private String categoryCode;

private String subclassCode;

private String materialsCode;

private String materialsDescription;

private String materialsBatch;

private String productId;

private String amount;

private String unit;

private String planStartDate;

private String planFinishDate;

private String actualStartDate;

private String actualFinishDate;

private String woStatus;

private String processRouteNo;

private String dataSource;

private String dataSourceCreateTime;

private String isDeleted;

/**
 * 1：未读（默认状态）
0：成功；
10001:XXX字段不能为空
10002:XXX字段超长
10003:XXX字段格式不正确
10004:XXX字段数值不正确
20001:找不到对应的采购订单号
20002:找不到对应的销售订单号
20003:找不到对应的生产订单号
20004:找不到对应的工单订单号
20005:找不到对应的供应商编号
20006:重复推送数据
90001:系统超时
90003:系统异常
 */
private String ioflag;

/**
 * 错误信息，接口同步返回消息
 */
private String message;

/**
 * 本条数据值新增/更新，0：新增，1：更新
 */
private String status;

/**
 * 全局交易流水号
 */
private String transno;

@JsonProperty("work_id")
@TableId(value = "work_id", type = IdType.AUTO)
private Integer workId;

/**
 * 数据可见方
 */
private String openId;

private String ownerId;

/**
 * 产品型号规格
 */
private String modelSpec;

/**
 * 是否监造标志，0：否，1：是
 */
private String supervisionFlag;
private Date pushTime;


public String getPurchaserHqCode() {
    return purchaserHqCode;
    }

public void setPurchaserHqCode(String purchaserHqCode) {
    this.purchaserHqCode = purchaserHqCode;
    }

public String getIpoNo() {
    return ipoNo;
    }

public void setIpoNo(String ipoNo) {
    this.ipoNo = ipoNo;
    }

public String getSupplierCode() {
    return supplierCode;
    }

public void setSupplierCode(String supplierCode) {
    this.supplierCode = supplierCode;
    }

public String getWoNo() {
    return woNo;
    }

public void setWoNo(String woNo) {
    this.woNo = woNo;
    }

public String getCategoryCode() {
    return categoryCode;
    }

public void setCategoryCode(String categoryCode) {
    this.categoryCode = categoryCode;
    }

public String getSubclassCode() {
    return subclassCode;
    }

public void setSubclassCode(String subclassCode) {
    this.subclassCode = subclassCode;
    }

public String getMaterialsCode() {
    return materialsCode;
    }

public void setMaterialsCode(String materialsCode) {
    this.materialsCode = materialsCode;
    }

public String getMaterialsDescription() {
    return materialsDescription;
    }

public void setMaterialsDescription(String materialsDescription) {
    this.materialsDescription = materialsDescription;
    }

public String getMaterialsBatch() {
    return materialsBatch;
    }

public void setMaterialsBatch(String materialsBatch) {
    this.materialsBatch = materialsBatch;
    }

public String getProductId() {
    return productId;
    }

public void setProductId(String productId) {
    this.productId = productId;
    }

public String getAmount() {
    return amount;
    }

public void setAmount(String amount) {
    this.amount = amount;
    }

public String getUnit() {
    return unit;
    }

public void setUnit(String unit) {
    this.unit = unit;
    }

public String getPlanStartDate() {
    return planStartDate;
    }

public void setPlanStartDate(String planStartDate) {
    this.planStartDate = planStartDate;
    }

public String getPlanFinishDate() {
    return planFinishDate;
    }

public void setPlanFinishDate(String planFinishDate) {
    this.planFinishDate = planFinishDate;
    }

public String getActualStartDate() {
    return actualStartDate;
    }

public void setActualStartDate(String actualStartDate) {
    this.actualStartDate = actualStartDate;
    }

public String getActualFinishDate() {
    return actualFinishDate;
    }

public void setActualFinishDate(String actualFinishDate) {
    this.actualFinishDate = actualFinishDate;
    }

public String getWoStatus() {
    return woStatus;
    }

public void setWoStatus(String woStatus) {
    this.woStatus = woStatus;
    }

public String getProcessRouteNo() {
    return processRouteNo;
    }

public void setProcessRouteNo(String processRouteNo) {
    this.processRouteNo = processRouteNo;
    }

public String getDataSource() {
    return dataSource;
    }

public void setDataSource(String dataSource) {
    this.dataSource = dataSource;
    }

public String getDataSourceCreateTime() {
    return dataSourceCreateTime;
    }

public void setDataSourceCreateTime(String dataSourceCreateTime) {
    this.dataSourceCreateTime = dataSourceCreateTime;
    }

public String getIsDeleted() {
    return isDeleted;
    }

public void setIsDeleted(String isDeleted) {
    this.isDeleted = isDeleted;
    }

public String getIoflag() {
    return ioflag;
    }

public void setIoflag(String ioflag) {
    this.ioflag = ioflag;
    }

public String getMessage() {
    return message;
    }

public void setMessage(String message) {
    this.message = message;
    }

public String getStatus() {
    return status;
    }

public void setStatus(String status) {
    this.status = status;
    }

public String getTransno() {
    return transno;
    }

public void setTransno(String transno) {
    this.transno = transno;
    }

public Integer getWorkId() {
    return workId;
    }

public void setWorkId(Integer workId) {
    this.workId = workId;
    }

public String getOpenId() {
    return openId;
    }

public void setOpenId(String openId) {
    this.openId = openId;
    }

public String getOwnerId() {
    return ownerId;
    }

public void setOwnerId(String ownerId) {
    this.ownerId = ownerId;
    }

public String getModelSpec() {
    return modelSpec;
    }

public void setModelSpec(String modelSpec) {
    this.modelSpec = modelSpec;
    }

public String getSupervisionFlag() {
    return supervisionFlag;
    }

public void setSupervisionFlag(String supervisionFlag) {
    this.supervisionFlag = supervisionFlag;
    }

    public Date getPushTime() {
        return pushTime;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    @Override
public String toString() {
return "ZxjEipGd{" +
        "purchaserHqCode=" + purchaserHqCode +
        ", ipoNo=" + ipoNo +
        ", supplierCode=" + supplierCode +
        ", woNo=" + woNo +
        ", categoryCode=" + categoryCode +
        ", subclassCode=" + subclassCode +
        ", materialsCode=" + materialsCode +
        ", materialsDescription=" + materialsDescription +
        ", materialsBatch=" + materialsBatch +
        ", productId=" + productId +
        ", amount=" + amount +
        ", unit=" + unit +
        ", planStartDate=" + planStartDate +
        ", planFinishDate=" + planFinishDate +
        ", actualStartDate=" + actualStartDate +
        ", actualFinishDate=" + actualFinishDate +
        ", woStatus=" + woStatus +
        ", processRouteNo=" + processRouteNo +
        ", dataSource=" + dataSource +
        ", dataSourceCreateTime=" + dataSourceCreateTime +
        ", isDeleted=" + isDeleted +
        ", ioflag=" + ioflag +
        ", message=" + message +
        ", status=" + status +
        ", transno=" + transno +
        ", workId=" + workId +
        ", openId=" + openId +
        ", ownerId=" + ownerId +
        ", modelSpec=" + modelSpec +
        ", supervisionFlag=" + supervisionFlag +
"}";
}
}
